package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2025-01-20
*/
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SilentResultBean对象", description="静默结果")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "patrol_silent_result", resultMap = "BaseResultMap")
public class SilentResultBean extends Model<SilentResultBean> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "obj_id")
    private String objId;

    @ApiModelProperty(value = "设备id")
    private String equipId;

    @ApiModelProperty(value = "设备名称")
    private String equipDeviceName;

    @ApiModelProperty(value = "文件路径")
    private String filePath;

    @ApiModelProperty(value = "如果巡视失败，记录原因")
    private String reason;

    @ApiModelProperty(value = "抓图状态（1为成功，0为失败）")
    private String pickStatus;
    
    @ApiModelProperty(value = "采集时间")
    private Date createTime;

    @ApiModelProperty(value = "分析状态（1分析成功，2分析失败）")
    private String analysisStatus;

    @ApiModelProperty(value = "项目部ID")
    private String projectDepartmentObjId;

    @ApiModelProperty(value = "所属工程ID")
    private String constructionWorkObjId;

    @ApiModelProperty(value = "施工现场ID")
    private String constructionWorkSiteObjId;

    @ApiModelProperty(value = "分析时间")
    private Date analysisTime;

    @ApiModelProperty(value = "分析图片路径")
    private String analysisFilePath;

    @ApiModelProperty(value = "违章人员")
    private String violationPerson;

    @ApiModelProperty(value = "违章人员证件号")
    private String violationPersonCard;

    @ApiModelProperty(value = "违章人员单位")
    private String violationPersonOrgId;

    @ApiModelProperty(value = "违章内容")
    private String violationContent;
    
    @ApiModelProperty(value = "违章内容初始")
    private String violationContentInit;

    @ApiModelProperty(value = "违章类型，逗号分割")
    private String violationTypeList;

    @ApiModelProperty(value = "是否告警（1是，0否即忽略）")
    private String ifWarn;

    @ApiModelProperty(value = "处理违章时间")
    private Date handleTime;

    @ApiModelProperty(value = "是否已读")
    private String ifRead;

    @ApiModelProperty(value = "已读时间")
    private Date readTime;

    @ApiModelProperty(value = "已读人")
    private String readUser;
}
